<template>
	<view>
		<jonej-index :navbarObject="navbarObject" :swiperObject="swiperObject" :fourboxGridList="fourboxGridList"
			:userinfo="userinfo" :multifunction="multifunction" :rcList="rcList" @handleSwiper="handleSwiper"
			@handlefourboxGrid="handlefourboxGrid"></jonej-index>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 魔方数据
				rcList: [{
						title: '测试1',
						thumb: '@/static/image/ces.png',
						url: ''
					}, {
						title: '测试2',
						thumb: '../../../static/image/ces.png',
						url: ''
					},
					{
						title: '测试3',
						thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
						url: ''
					}, {
						title: '测试4',
						thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
						url: ''
					}
				],
				// 多功能数据
				multifunction: [{
					title: '测试1',
					thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
					url: ''
				}, {
					title: '测试2',
					thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
					url: ''
				}, {
					title: '测试3',
					thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
					url: ''
				}, {
					title: '测试4',
					thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
					url: ''
				}],
				// 用户信息
				userinfo: {
					headImg: '',
					list: {
						member_name: '测试',
						level_name: '等级',
						credit: '积分',
						coupon: 0,
						card: 0
					}
				},
				// 四空格数据
				fourboxGridList: {
					list: [{
						title: '测试1',
						thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
						url: ''
					}, {
						title: '测试2',
						thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
						url: ''
					}, {
						title: '测试3',
						thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
						url: ''
					}, {
						title: '测试4',
						thumb: '../../../static/image/4aud7fdra2jopqpa2lnuatiidp.png',
						url: ''
					}],
				},
				// 轮播图数据
				swiperObject: {
					name: 'image',
					list: [{
							image: '',
							title: '昨夜星辰昨夜风，画楼西畔桂堂东',
							url: '11111'
						},
						{
							image: '',
							title: '身无彩凤双飞翼，心有灵犀一点通',
							url: ''
						},
						{
							image: '',
							title: '谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳',
							url: ''
						}
					]
				},
				// 导航栏数据 
				navbarObject: {
					show: true,
					title: '测试',
					backIconName: 'nav-back',
				}
			}
		},
		methods: {
			// 轮播事件
			handleSwiper(item) {
				console.log("轮播");
				console.log(item.url);
			},
			// 四宫格事件
			handlefourboxGrid(item) {
				console.log("四宫格事件");
				console.log(item);
			},
		}
	}
</script>

<style>
</style>